<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Hello MUI</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <!--标准mui.css-->
    <link rel="stylesheet" href="../static/css/mui.min.css">
    <link rel="stylesheet" href="../static/css/native.css">
    <!--App自定义的css-->
    <link rel="stylesheet" type="text/css" href="../static/css/app.css"/>
    <style>
        html,body{
            background: #ddd;
        }
    </style>
</head>

<body>
<header id="header" class="mui-bar mui-bar-nav mui-bar-transparent">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">
        <input class="search" type="text" placeholder="请输入商品名">
        <span class="mui-icon mui-icon-search search-icon"></span>
    </h1>
</header>
<nav class="mui-bar mui-bar-tab">
    <a class="mui-tab-item mui-active" href="#tabbar">
        <span class="mui-icon mui-icon-home"></span>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item" href="#tabbar-with-chat">
        <span class="mui-icon mui-icon-email"><span class="mui-badge">9</span></span>
        <span class="mui-tab-label">消息</span>
    </a>
    <a class="mui-tab-item" href="#tabbar-with-contact">
        <span class="mui-icon mui-icon-contact"></span>
        <span class="mui-tab-label">通讯录</span>
    </a>
    <a class="mui-tab-item" href="#tabbar-with-map">
        <span class="mui-icon mui-icon-person"></span>
        <span class="mui-tab-label">我的</span>
    </a>
</nav>

<div class="mui-content" id="homePageMuiContent">

<!--    save   -->
<div id="tabbar" class="mui-control-content mui-active">
    <div id="slider" class="mui-slider" >
        <div class="mui-slider-group mui-slider-loop">
            <!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
            <div class="mui-slider-item mui-slider-item-duplicate">
                <a href="#">
                    <img src="../static/images/yuantiao.jpg">
                </a>
            </div>
            <!-- 第一张 -->
            <div class="mui-slider-item">
                <a href="#">
                    <img src="../static/images/shuijiao.jpg">
                </a>
            </div>
            <!-- 第二张 -->
            <div class="mui-slider-item">
                <a href="#">
                    <img src="../static/images/muwu.jpg">
                </a>
            </div>
            <!-- 第三张 -->
            <div class="mui-slider-item">
                <a href="#">
                    <img src="../static/images/cbd.jpg">
                </a>
            </div>
            <!-- 第四张 -->
            <div class="mui-slider-item">
                <a href="#">
                    <img src="../static/images/yuantiao.jpg">
                </a>
            </div>
            <!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
            <div class="mui-slider-item mui-slider-item-duplicate">
                <a href="#">
                    <img src="../static/images/shuijiao.jpg">
                </a>
            </div>
        </div>
        <div class="mui-slider-indicator">
            <div class="mui-indicator mui-active"></div>
            <div class="mui-indicator"></div>
            <div class="mui-indicator"></div>
            <div class="mui-indicator"></div>
        </div>
    </div>
    <div class="announce">
        <p> <span class="name">宣告</span> </p>
    </div>
    <div class="actegory">
        <div class="mui-slider">
            <div class="mui-slider-group mui-slider-loop">
                <div class="mui-slider-item mui-slider-item-duplicate">
                    <ul class="mui-table-view mui-grid-view">
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/cbd.jpg">
                            <div class="mui-media-body">Color of SIP CBD</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/yuantiao.jpg">
                            <div class="mui-media-body">静静看这世界</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/cbd.jpg">
                            <div class="mui-media-body">Color of SIP CBD</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/yuantiao.jpg">
                            <div class="mui-media-body">静静看这世界</div></a></li>
                    </ul>
                </div>
                <div class="mui-slider-item">
                    <ul class="mui-table-view mui-grid-view">
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/shuijiao.jpg">
                            <div class="mui-media-body">幸福就是可以一起睡觉</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/muwu.jpg">
                            <div class="mui-media-body">想要一间这样的木屋，静静的喝咖啡</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/cbd.jpg">
                            <div class="mui-media-body">Color of SIP CBD</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/yuantiao.jpg">
                            <div class="mui-media-body">静静看这世界</div></a></li>
                    </ul>
                </div>
                <div class="mui-slider-item">
                    <ul class="mui-table-view mui-grid-view">
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/cbd.jpg">
                            <div class="mui-media-body">Color of SIP CBD</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/yuantiao.jpg">
                            <div class="mui-media-body">静静看这世界</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/cbd.jpg">
                            <div class="mui-media-body">Color of SIP CBD</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/yuantiao.jpg">
                            <div class="mui-media-body">静静看这世界</div></a></li>
                    </ul>
                </div>
                <!-- 额外增加的一个节点(循环轮播：最后一个节点是第一个图文表格) -->
                <div class="mui-slider-item mui-slider-item-duplicate">
                    <ul class="mui-table-view mui-grid-view">
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/shuijiao.jpg">
                            <div class="mui-media-body">幸福就是可以一起睡觉</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/muwu.jpg">
                            <div class="mui-media-body">想要一间这样的木屋，静静的喝咖啡</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/cbd.jpg">
                            <div class="mui-media-body">Color of SIP CBD</div></a></li>
                        <li class="mui-table-view-cell mui-media mui-col-xs-3"><a href="#"><img class="mui-media-object" src="../static/images/yuantiao.jpg">
                            <div class="mui-media-body">静静看这世界</div></a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    </div>
    <div class="content-container">
        <div class="space-lock"></div>
        <div class="mui-popup-title">
            最新
        </div>

        <div class="space-lock"></div>
        <div class="mui-popup-title">
            热门
        </div>
        <div class="hot-babies">
            <ul class="mui-table-view mui-grid-view">
                <li class="mui-table-view-cell mui-media mui-col-xs-6">
                    <a href="#">
                        <img class="mui-media-object" src="../static/images/qrcode.png">
                    </a>
                    <div class="item-name">
                        <span>幸福就是可以一起睡觉</span>
                    </div>
                    <div class="mui-media-body item-info">
                        <span> 129￥ </span>
                        <span> 138￥ </span>
                        <span> ＋ </span>
                    </div>
                </li>
                <li class="mui-table-view-cell mui-media mui-col-xs-6">
                    <a href="#">
                        <img class="mui-media-object" src="../static/images/logo.png">
                    </a>
                    <div class="item-name">
                        <span>幸福就是可以一起睡觉</span>
                    </div>
                    <div class="mui-media-body item-info">
                        <span> 129￥ </span>
                        <span> 130￥ </span>
                        <span> ＋ </span>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--  save -->
</div>
</body>
<script src="../static/js/mui.min.js"></script>
<script type="text/javascript" charset="utf-8">
    mui.init({
        swipeBack:true //启用右滑关闭功能
    });
    var slider = mui("#slider");
    slider.slider({
        interval: 2000
    });
</script>
</html>